package weather.language.extractor;

import java.util.ArrayList;

abstract public class CommonExtractor 
{
	/**
	 * Extract from a given sentence specified values
	 * for example dates or locations
	 * @param sentence	input sentence
	 * @return	extracted values
	 */
	abstract public String[] extractValues(String sentence);
	
	/**
	 * Extract specified values and tag the input sentence
	 *  
	 * @param sentence
	 * @return first element is tagged sentence, next are extracted values, which 
	 * 			match respectively to the tags in the tagged sentence
	 */
	abstract public ArrayList<String> extractAndTag(String sentence);
}
